import java.util.Scanner;

public class 淘宝 {
    public static void main(String[] args) {
        Scanner gw = new Scanner(System.in);
        System.out.println("请输入本次购物价格");
        System.out.println("请，包邮吗？");
        Double price= gw.nextDouble();
        String by=gw.next();
        if(by.equals("yes")){
            System.out.println("最终的价格："+price);
        }else {
            price+=20;
            System.out.println("最终的价格："+price);
        }
    }
}
